<?php
function assoc_implode($majorglue, $minorglue, array $array)
{
  $ret = array();
  foreach($array as $k => $v)
  {
    $ret[] = $k.$minorglue.$v;
  }
  return implode($majorglue, $ret);
}
?>
